package readinglist;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ReadingListConfiguration {

    @Bean
    @Conditional(JdbcTemplateCondition.class)
    public MyService myService() {
        return new MyService();
    }

}
